#include <string>
#include <iostream>
using namespace std;
int main()
{
string n;
cout <<"海尔洗衣机故障代码查询系统"<<endl;
cout <<"请输入代码:";
cin>>n;
if(n=="E1"||n=="e1")
cout <<"排水故障"<<endl;
else
if(n=="E2"||n=="e2")
cout <<"未关好门"<<endl;
else
if(n=="E4"||n=="e4")
cout <<"进水异常"<<endl;
else
if(n=="E8"||n=="e8")
cout <<"超过报警水位"<<endl;
else
cout <<"未查询到此错误代码，请联系当地经销商"<<endl;
return 0;	
}
